added smooth lines and a /clear command