switched to tri-state flag for indicating the type of screen refresh required
merge with window artifacts