Fix for issue #851; implements some dead code eliminations suggested by sandymac. Suggested by: sandymac Review by: mmendez, alex.tkachman git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@983 8db76d5a-ed1c-0410-87a9-c151d255dfc7