some performance fixes; Local server output prettified