Fixes for Open Discussion: Small code clean-ups http://sourceforge.net/p/wtl/discussion/374433/thread/e9903256/

git-svn-id: http://svn.code.sf.net/p/wtl/code/trunk/wtl@597 4beafcb9-bf40-0410-b8f5-b741cf90ec0e