Fixed issue #256: "$pref::TS::smallestVisiblePixelSize doesn't work".
- Fixed some warnings on the VS2012, L4.
- Compiled version under VS2013.