Timeouts and error checking added. Added logging for render progress. Misc bug fixes.