Implement Window_IntegerEditor.

Also Fix minimal bug.