updated .gitignore
Refactored code: made it print in current window; fixed typoo
Added list and set command, small fixes in code
Fixed an issue where calling the script from the (status) or a private messge conversation would cause an error