TBEM will help you organizing your game loop in a more object oriented way.
Also you don't have to write an event manager now yourself.
How to use this module
Inside your script, before calling any module specific keyword, add the following:
A dedicated TBEM help file is located into \thinBasic\Help\ directory.
A big thanks and credit goes to Michael Hartlef, author of TBEM module.