fix favicon location in deployed version, minor refactor