Use StringTokenizer for (small) performance improvement and some small cleanups