Added a not saved display if picture fails to save

also made a globals class!