Updated to reflect changes in OmnisCore.
Also started to use ConfigHandler.