-Adding some usefull function.
-Tone of bugfixes.