for your homing issue, when you compile your firmware, check the invert axis options for each axis. they can be set true or false and may need to be changed.