Glad we got this figured out.
Resolution: load_image (and almost all of the commands) must be used while an Application object has been created.