Just made code look a tad bit nicer, and added comments. Not much more.