titlebar now updates resources count