Console is working. There is a bug with window focus