moved some constants to the config file
cleans canvas between draws. closes #9.