Refurbish and improve
This release gets rid of a lot of strlen function calls.
Further a lot of variables are renamed for better understanding, NULL protections are added and some functions changed.
We also have a new function str_replace_first that is able to create a new string.