Add broken WMO rendering code + some M2 fixes