Version 1.4 :: Fixed #1 by adding sanity check for desktop session. Various other minor changes