Option Strict On, various class fixes, serialization compatibility, basic template loading