unified media lookup and support for better default theme resources