rebuild mania
+ assorted bug fixes + switch to 2-clause license
* (almost) fix toolbuild on platforms with a lacking wchar * more magic