Buy server now uses what ever device type the current device is
I also organized the gui.window classes into new packages.