Wrapped main parse/draw in exception to prevent crashing app