Merge pull request #75 from da2ce7/master

Error message when adjust_usage_credits returns nothing.
Merge pull request #76 from da2ce7/master

move to the updated TR1_Wrapper.hpp
some macox fixes