Update main.pas

Life 9.2
LifeCheck function was deleted.