is there a way to make a clickable icon which will run a command in the terminal window?
AppleScript? You can save your scripts as little apps. Don't ask me how to make it run a command in the terminal though, i've never used it.