That worked! Thank you very much! I noticed that if i turned off the expression recognition(that little smile next to the settings cog) the front camera stopped crashing and worked properly, so that was what it was missing.
I discovered 2 more minor issues. Messenger, facebook and probably more social networking apps fc at login time, an issue i fixed by substituting libssl.so and libboringssl-compat.so from your cm builds. Your files fully fixed it, although i would be great to have them fixed at the source level. What i also discovered today, is that my build fails the 3d part of antutu benchmark every time by crashing the 3dbench application at random times. I tried a few 3d games and they play fine, so i don't consider it to be that big an issue, apart from the much lower antutu bench scores(about 40000 without the 3d part). I tried 3dmark and it worked ok, except for the part with the offscreen rendering, so that could be a lead to fix the problem.
On the upside, i tried a fix i found on the 4pda forum for the bluetooth music, removing hci_qcomm_init from the vendor folder and i have not encountered stuttering on a2dp yet, although i didn't have time to test it throughly. The random reboots that cm13 rel v10 had on high accuracy location mode are also completely gone as well, i tested pokemon go(which was unplayable on rel 10) and it played fine and rock stable. You probably have that fixed on rel 11 though . Thank you for your contribution and your help, hope you can take some time to help a fellow in learning the inner workings of android!