added calls to discard and suspend input events; added input queue autosuspend feature
Merge branch 'develop' into develop-plumzi