preparing command handlers for all gui->engine commands