Added a is_focused function to the window metatable/class