Fixed some minor bugs with non-existent methods,  did some code cleanup, added more debug functionality
0.2.2