clean up main class/ method
handle local_stack worker/master collisions