Fixed JSHint Warnings
Added MessageType.WARNING for some displayMessage calls