WIP - Updated memory image loading

Transformations (such as rotation) are now reverted when reloading the
image
WIP - Started imlementation of external filters