Frame: remove unused classnames and methods

1) remove unused and undefined CSS classnames from template
2) remove unused method opt() because there never was tag [opt] in template