better marker namespaces, ignore spurious keypresses in bagfiles
cleanup