Fixed major bug in deadline calculation, and implemented both pool v2 types.  Version updated to 1.11 for emergency release.