replace readdir with scandir
updated transient for themes, hopefully fixed GitHub API timeout errors