Fixed missed metadata offset, and now cache return values of getOres for speed.