Use FML logging system.
Made some of the ASM code more concise