But don't discount Elves, with their innate ability to spot secret doors. To cover the basics, use a few skill points to attain basic competence in Spot, Listen, Search, Open Locks and Disable Device.
Barbarians can cause rogues trouble. .
By 5th level, barbarians are nearly impossible to sneak attack. They never lose their Dex adjustment due to flat-footedness or invisible attackers, and they can't be flanked. While still handy for getting through doors that have been rudely left locked, and for detecting and disabling nasty traps, rogues can now hold their own in combat. And the wonders of multiclassing mean they can do about anything else you can imagine. Since rogues are all about Dexterity, this is essential.