If smooth rpm transition is not present beyond 2-2.5k rpm, MAF is most likely the problem. If not, O2 sensor, faulty wiring or ECU issues.
btw: new plugs would be great. I'd recommend NGK BKR7 or BKR6 cheapos for bug fixing and initial tuning. After running well, splurge for whatever your heart desires.try this link.
zerothread/189734
FYI: Running the engine with no filter on the MAF body will cause an irratic idle.
As for the dim light situation, its obviously a sub-par battery. right now. Charge it if you can. Also check the wiring to the ALT. to make sure it is properly hooked up. FYI SR/KA have very similar power supply harness section with no wiring mods needed. Also, try to check voltage after you have started the car no matter how bad it runs. Voltage must be at least 13V, preferably closer to 14V, at the BATT with engine at or above 1k rpm. If no sign of increased Voltage is present after starting engine, ALT must be rebuilt or replaced providing wiring is connected properly.