Fixes for buffering bugs in LuaSystem
Fixes:
LuaSystem
clears its buffer at the end of each frame instead of the start (meaning events that were triggered before the start of the frame now get properly processed)LuaSystem
catches exceptions thrown by buffered commands to ensure proper execution of other commands
Optimizations:
- Optimized includes in
SfSystem