Connect FormClosed event to handler

fixes luckyrat/KeeFox#254