closing operation, display colors and assert