fixed assert crash
added additional commands to control gui from input box