Allow for spaces in params and some minor logging improvements