Formatting pass

Made code style conform (more or less) to Rainmeter standard.