Pretty vital bug fixed

I was loading images into the objectArray completely wrong, which would
create ginormous problems later.