Style changes, debug and notification options, reduce broad exceptions.

This diff does the following things:

 * Change camelCase to lower_case
 * Wrap really long lines
 * Remove some commented out code and add it under a `debug` or `notification` flag.
 * Reduce broad exception handling, add `TODO`s where unsure how to catch the exception

Please let me know if any of these changes is undesired and I'll get rid of them.