fixes for various cacheword and cursor null, error states