Misc form tweaks. And finish refactoring lastposts.