misc logging changes
working selection (somewhat)