convert tabs to spaces.
* use a better, reentrant reader/write section class * refresh the UI in a timer interval