Remove debugging statements, fix bug with autoform not calling done