Better init() for masterWindow()