Cleaning up

The code is now less… embarrassing.
Also I’ve added lazy loading of background images.