Removed unnecessary code. Remoteguicode in main.cpp still looks like shit..