added unhook method to layouts, updated config file, fixed flickering in fullscreen mode when focus changes on other screen