action cleanup
fixed Extend undo; added building panel, minor fixes