Initial import. Rev 0.3a + Alt-Z and Alt-G Modification.