Fixed #11. insertHTML method must be invoked in Swing thread.