Cleanup hooks
Small cleanup
Use int values for frames
Rename post hook to just submit
Change name from post to submit hook
Use only custom attributes