add an install script
use register logic into its own method

that way it can be reused by other things such as scripts
use property_exists rather than isset

issue will return false if the property exists but is null. :(
add an action to the form

so that if the form is included on other pages, it will still post to the right place
remove redundant assignments
remove whitespace