Added saveState to the plugin; removed host UI