Rudimentary support for character memories, implementation should be refined
Fixed fread_image() so it doesn't try to read past of EOF in buffer
Ensures requested cell is within memory area
Checks if width argument is correct