Study variables java fixes and some miscellaneous stuff
-