Hi John,
I think you picked it on right spot. For electric spark problem, I called a plumber he opened the immersion cap and saw that one wire ( don't remember colour, probably black one) has a short circuit causing the spark. I cleaned the wire and rewired the as required. After that there was...