whitespace trim, screen swapping