Fixing bugs, begun introduction of the LKSL.Events.RecorderFile.pas unit (the name will change VERY shortly)
Please don't consider this commit "production-ready"