Restructuring, got serial input to work, including function
	int s_read(char* buf, int want, int msecTimeout);