Added some hooks, and module install, to set weight.
Added user account form handling. Fixed other minor issues.