Change user agent
Make code more readable by dividing it into classes
Switch history management to SQLite instead of textfile and remember comment details