Performs file name substitution to be more URL friendly.
Fixed elfinID_G, elfinId listeners setting info.
Code clean up.