Function algebra invariants and the conformal structure of planar domains