A few issues...
Thanks for the tips!
a. The soviet 1W metal film resistor is 500V max rated, but the boards i assembled had 2x 0.5W(350V max) 75K resistors in series, the resistor voltage ratings was something i considered.
b. That hasn't gotten me yet, but i think placing the capacitor C1 that is crossed out would mitigate that, but need to be careful that the charge current doesn't overload resistor.
c. Yes, the 72 LED number isn't ideal, but the nominal mains voltage in Ukraine is 220V +10% -15% and at my flat voltage does sometimes drop to 210V, and when i was making this lamp i didn't want any flicker so sacrificed the efficiency. Q1 has 100V Vce so that is definitely sketchy. Another factor here is that the filtering capacitors are very small so there is a DC and ripple component. I measured 50VDC and 16VAC so 72Vpeak at Q1 and 14V on R4 at 30 mA with about 225V in the mains. Perhaps current could be increased slightly but that would just be shifting the drop from transistor to resistor. In the next one i will use a better transistor and try to decrease the value of R4 and redesign the LED board.
d. Yes, it will be cleaned. As for the creepage on the driver PCB it is 2.5mm at the worst (that is the pitch of the bridge rectifier), at the LED board it is very bad.
e. The tl431 seems to discharge them, couldn't measure anything with meter and no sparks with screwdriver.
Overall the thing i took to heart the most writing this up is to show more respect to the mains and high voltages with creepage distances etc. Thanks!