Cache image dimensions
rename IMAGES cache key
Faster implementation for mainpage image display
cleanup wip
cleanup superflous files