added kiosk mode handling etc.  New executable for server