modified the ui object a bit,
made a module for the background canvas processing