main register opens register window