Remove debugger, fix restyle loop