Made plugins more independant

- Made the plugins work even when they are not all loaded
- Made the console output easier to read on loading the server
- Fixed bugs in the SQL scripts