Added error events to Twixel

Twixel.cs now throws errors when something is wrong.