Added optimize flag to saving png.  Minimal size difference.
Modify what heartbeats do.  Heartbeats slow processing, not completely stop it.
Removed console message.
Added error catching for screenshot dimension changes.