It's not guaranteed that options will be terminated at initialize
engine_init_canvas now returns whether success was obtained
Error checking.
Fixed reference to bool
Always decrease reference to surface
Stop on EOF.