Window defaults to resolution of primary monitor.
Added class attribute for modifier keys.