Change license to WTFTL, big refactor to make plugin more stable

Changed License to WTFTL license
Refactored to prepare for more regex's, added a ton of error handling
and debug logging.
Big @todo… go through and look for leaks