Update 0.1.2.2

got rid of most null pointer exceptions