i've heard of list comprehensions, but...

dict comprehensions? no way…
Formatted plenty of comments, PEP8 y'all.
Front end overhaul

Major upgrade to front-end.  Significantly more modularized.