Tried to implement a timer in mainForm

Will remove soon.