Fixed #113

Session warning can be enabled/disabled in User settings.
Minified the script