Added not-working wall optimizer.
Made optimizer fully-functional.