v2.0a12: minor update with one serious bug fix, and several other minor fixes: all regtests pass on gcc46, gcc47, clang3.4, and msvc2k13 on windoze