Fixed key press detection.
Added Resources.