Register window gemaakt + basic server communication