console/shell cleanup