Moved startup code to the Glk thread. Now Frotz works! (Fix #14)