add compiler and runtime checks, and new html error messages