Remove debug print statements
Add copy of LGPL license
Clean up exception types