changed canvas,context to interface
added plugin loaded