Code cleanup and version number change
Changed version number from 4.16.0 to 4.17.0. Removed unused code and fixed some compiler warnings (when switched on higher warning levels).
Changed version number from 4.16.0 to 4.17.0. Removed unused code and fixed some compiler warnings (when switched on higher warning levels).