Added code for keep track on loaded plugins

Nothing fancy....