version bump
convert to unix format.
formatting fixes. add spaces and make it more consistent so people can actually read it.
don't make file handles global.