Improved Coding, Bug fixes, New features

Improved used language for variables and functions and SMP will now do
some tasks more efficiënt/specific. Also fixed some bugs and added 2 new
features