Implement parts of the custom window window