Beginning to profile, didn't make things much faster yet but did clean
up ImageRepr a bit.