Fixed word wrapping in registration form
Fixed problem with keyboard shortcuts on Flash

Previous attempt - f226c3eb0ca2397bfc360b0a474424d4aadfdf96.
Approach introduced in this commit is theoretically much better, but it still
might not be perfect.