shorter heartbeat and session in order to clean up resources earlier if browser window was closed
updating logging dependencies for GUI and init logging only once