Connect FormClosed event to handler

fixes luckyrat/KeeFox#254
Merge pull request #255 from dlech/master

Connect FormClosed event to handler