General clean up.
Removed debugging code/alert messages.
Formatting
documentation