move hwndEditFrame and hwndStatus into Document