Fixed segfault with bad key mapping in window key buffers. Special keys seem to be WAY out of range, investigate later if necessary..