Message input field

Please use meaningful constants instead of magic numbers