Fixed syntaxerrors.
Updated layout of frame