Added favicon to default theme, get_customer_by_ref() helper and a couple of cleanups.