Works!

Todo:
   re-arrange buttons
   fancier report
   save as file
   Bilgihan's changes
   etc