Alright, main problems solved with a simple upgrade. Same project only 216 KB with the 2.0.0 compiler set up in lazarus Project/compiler options/compiler tab. Now it's time to stop playing around with toy Exes and get back to my linux Elves .