Finished plugins and logging! Other small tweaks.