Reset Image now centers the image and misc fixes

- Reset Image now centers the image (or positions it in the top-left if
it's a large/wide image)
- Moved the image preloading to after the window has been updated with
the current image.
- Fixed the NextImage and PrevImage functions being reversed.