Warnings and errors

Display error and warning messages. Needs more work, but can be merged. Also includes full i18n for all strings.