Clean up debug code. Start fixing Windows for the 99999th time.