Fixed code duplication between MultiplayerMenu and DevConsole by
moving shared functionality into a Textbox class. Also improved
textboxes significantly by adding a cursor and the features that entails.