Move most of constant strings to Resource module

Also display error icons in message boxes.