Correct style initialize (closes #3936)

+ Add set style in wstart
+ Use absolute directory files
+ Change rewriting of [IMG] in certain case