adjusted GUI and removed unused slot