Fixed beautifyOnSave for windows; PEP8 style improvements. Refs #33