Final Cleaning for IO and Frame

Replaced long cdr and car calls with their one call equivilent and
changed how I checked for NIL