Catch and log module load errors to avoid browser reload (fixes #21)