Fix linux errors, use after free

Fix use after free in LThing's constructor

Fix build errors on Linux

Various minor changes
Fix input bug : No brakes !