Fix incorrect order of console logs and opening multiple project windows.