Restrict usernames to a single line.

Also set some other properties to help with prediction and display.