Main frame added.