list -> hashtable
restore missing setStageLost; other fixes