Expanded GUI app to add frame. Doesn't work.