reworked engine and graphical kernel to remove engine frame from main frame thread
updated examples to suit new kernel