refactoring minimap
keyboard input manager now supports delays