Added Debugging statements and tested. Should be safe to use at this point. Further Bug reporting may be needed
Added new Debugging libs to help debugging in the near future