improve documentation
develop better intelligence for runwing
tune constants where applicable
add some postprocessing functions
