Workaround fix for both messed up ore generation and replaceblocks function. Moves both methods to use bukkit events instead of the populate(...) method overridden from org.bukkit.generator.BlockPopulator. Replaceblocks is called on chunkload for new chunks. populate(...) is called on chunkpopulate.