updates to WebGL handling. Added a basic signal class for DOM elements.