CLEANUP: moved code to MultiImage and Frame