Added setting for beautifying on save. Cleanup. Refs #33