mostly fixed up logging and proxy. time to test on dev