Some design improvements in imagerecorder!