Removed a lot of unnecessary refreshes.