Made home search and home stats theme agnostics.