Fixed capitalisation mistakes

This fixes #95. Also fixed a bug with the textbox and null messages.