Refactoring

no more mixing casing/underscores
no more sublime.error thing
no more print statements (except in msg)