added more examples, fixed callbacks, added video support