Add in body loaded call and toggle style for debug support. Also added back in the opacity changes for theme switching