Build 21 v2

-Small update

-fixed some issues with multithreading
-fixed some issues with export
-some code optimisation (less code)
-added commentary mostly everywhere

Known issues:

-Updating the UI is still buggy
-Some parts have been shut off because it is causing quite a lot of
trouble while mulitthreading
-still no implementation of the certificate