spigot multithreading and classes bugfixes