generating frames and made some ui changes