Fixed a bug in the install process introduced with last commit, and refactored a couple of functions. Few edits to CSS as well.