Fixed some stuff added better multiwall support.