First tests for UImages, bug fixes, more code.