improved internal error handling
cleaned up some dependencies; version bump