Possibly fixed image saving (nulls popping up everywhere :|)