How to deal with this mold on the window frame?
That looks pretty bad. Don't use bleach, use a purpose-made mold killer product. I like Mold Armor, myself. Be careful with these products. They're super caustic and you could probably hurt yourself if you drink them or don't have good ventilation.