Added some compatibility fixes

works better with gregtech and fixed the NEI plugin.