Made changes to ResourceBarController. Almost done.