Refactoring and quick layout fixes

Refactors spinner code and makes the spinner more easily customizable.
Refactors less files and adds more variables for easier maintenance and style changes.
Some quick layout and style fixes.