Fixed default user settings not coming out.
Range-based for loops are fun :)
Whoops, removed phantom instalog.txt.
Fixed a bunch of crashes.