Generalized molecule viewer code.