Fix images expanding in posts. Fixes #492.
Remove getPrettyJSON
Simplify postform toggling