Added process proxy, and fixed minor bugs