Cleaned up some forms and fixed #47 and #49