Fixed some issues with session server and GUI