Added KeepFront and Borderless functionality