Fix bug with lock where Properties menu can lock up.
Also fix a bug I introduced earlier today in the Object Removal GUI where the "Up" and "Down" buttons don't properly increment the real value.