Added error messages, centralised text boxes