Overhauled the engine to match new graphics layout