Fixes for buffering bugs in LuaSystem
Fixes:
LuaSystemclears 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)LuaSystemcatches exceptions thrown by buffered commands to ensure proper execution of other commands
Optimizations:
- Optimized includes in
SfSystem