Cursor program keeps giving errors, closing and freezing

Hey, please check this: