Change gzip to work correctly under Linux systems.
Fix mktemp in doctor to work under Linux systems.
Update compression code to work under Linux systems.
Fix exec_browser to work under Linux systems.

Try xdg-open when browser is not setup in environment.