keyboard listener, deselect unit with ESC, change turn with N
refactoring popup drawing