Commented out xbmc.executebuiltin( "XBMC.ActivateWindow(fullscreenvideo)" ) to prevent crashing on load
Added "Script End" trigger on clean exit
Added "trigger" setting from script.xbmc.hue.ambilight to home_automation.py