Mrbrl

Sorry about the massive request for a few lines of code only, but indentation refused to play nice, so used brute force!
The only lines changes are the ones featuring AppDataDirectory, all the rest is just whitespace rearrangement