Compiling and correcting minor bugs