Fixed error and cleaned up warnings. Changed the testing variables in OnMapFragment.