Better error 500 fix, https fix and added favicon