Not sure about the check brakelines - are you sure it's not brake lights?
If all your rear lights are working, pull the bulbs out individually and check to see if any of them have any discoloration or if any have the gold-colored base. BMWs like the silver colored bulb bases. The difference in resistance is enough to trick the lamp module into thinking a bulb is out.
headlights - sounds like the daytime running lights are enabled. That's a trip the dealer to reset your preferences.