v0.0.2

Fixed bugs when the message is an error or undefined. Includes issue #1.