Use Enter to change Resize mode - Revised

K, so I republished this pull request with a system to ensure that Enter is not detected when it's being used to exit a text box. See #35 for details.