Added background color option for frame using rect. Alternate methods should be looked into.