Added support for error messages.
Underline expression added
OpenSample renamed to OpenFile
Ad format fully ported.