Fill out more of the Glk interface and add null checks to the dispatcher.