Fixed sending of command again. Also now make g and m codes appear in uppercase automatically.