I made it work on Linux & Tidied up the code/comments a bit

Hi,
    I made this work on Linux and I tidied up the python to make it pass pylint/flakes. I also tidied up the docstrings a bit.

    The only linux caveat is that it just dumps it's 'config' file in whatever folder the script is run from - but I don't see that as being a big deal - I wouldn't 'install' this anyway, it's just a script. It would also be very easy to change this to some XDG config folder, if required.

    Anyway, it now works fine on XUbuntu Linux!