Tweaks and bugfixes to new wall placement code.