Registers windowdisplay bugs fixed