Changed state for uninstall for #16
Removed parenthesis in line 136 for #16
Improved state change code for order in validate.php for #16