CORE-5415: Corrected window cycling logic
CORE-5415: Added additional taskbutton tests. Also corrected a window registration bug in the Desktop view class