removing double-dispose of stream
CA- correcting mouse/keyboard events
tightened access modifiers on all P/Invokes