FIX: memory usage when loading images in mainwindow, since it had to resize the array it was placed into
MOVED: ImageLoading stuff in mainwindow.cpp to ImageLoader.cpp