Added parts of the nx_window-object on unix.