numerous programming enhancements from prelude