adding prevent default functionality for key
cleaning up mouse and touch cood calls closes #407
version 0.3.11