Fixed Perl::Critic errors and enable refresh my library on startup again.