fixed gui and added a menu