added re-entrancy blocks around listeners
function consolidation
better signatures for writeRecord
fixes for IME
better consistency for VIEW_INDEX