Began implementing error checking

About time. Currently only throws errors when loading images.

Handling is VERY primitive. And immature.