calculate runtime locally for moar accurate runtimes
text cleanup