Style table and fix thead
Fix #112 thanks philt2001
Minor fixes