Working for a troublesome boss can be miserable. A less-than-competent manager can depress your morale, deflate your productivity, and flatten your motivation. But you don't have to feel helpless. You can improve your situation by working better with the boss you already have. Here's how.