basic_window compiles, but still segfaults