Remvoed useless logging
Better labeled debug logging
Better logging and error handling
More up-front error handling
Privatized limitTimestep
Fixed indentation