Fixed terrible bugs and Fixed walls

This is big.