Windows cleanup, added provisions for online flashing