minor modifications to icon registration routines