Fixed logic error in space parser wherein any space would cause infinite loops.