a few small changes to the main file. Added some widgets which might come in handy.