Cleaned up a little code. Disconnecting SD sometimes creates a stack or address error.