Pruned out utility functions. Removed outer closure. Pulled elseif's onto prev line. Cleaned up variable declarations. Removed coffee "return" cruft.