changes to undo limit, setup tweeks