Additional logging on dist size task
Cleanup unused var warnings