Major: 0.4.31

WARNING:
This commit can ONLY be compiled under Windows and Linux, don't try it
on Mac OS X.
Updates:
1. Tweak the Windows document dir.