Unreal to the rescue!!!
Rear light doesn't work. Front light dims on revving.
Rear light: check it's wired up properly, could be a short there that's allowing all the power to bypass the lights and go back to the battery via the frame. I had a similar problem when I trapped one of my rear light power wires between my frame and the bit where my seat unit is held on... Had me f**king confused when I was riding home!!!
Front light: Should get brighter when you rev. This is because once you hit 3000RPM you should be generating enough power to not only charge your battery, but power your bike as well. Makes me think that if it's dimming, the load is being pulled elsewhere (like a dodgy wire in your tail light!).
Give those a check, and use the wonders of the multimeter to investigate, probe and generally poke around every single wire that's in those two systems. Oh, and it might be worth taking your switch gear apart and giving it a good old coating of WD-40.
Incidentally, that's good advice for everyone else... Get your switchgear off, leave all the metal parts sat in a bowl of coca-cola (and the odd shot of vodka here and there for good measure) overnight, rinse them off a coupla times with water, and then saturate the lot in WD-40 (When I did this with munkeyboi's new switches, I let it sit in a puddle until the WD-40 went black, washed it off, and repeated the process a second time. Then gave it a nice rinse, put it all back together and gave it one final coat of WD to make it all work