Handling refresh errors and css polish