It didn't lag at all when it ran from the icon but it is doing having to run it from xterm. I wonder if it's because xterm is still open?