TSUI-20, cleaned source code