UI updates

Add table to the tempalte and couple some JS with it to populate it on
click.

Agggh, must spend time on JS before it gets out of hand. :)