skeleton and pseudocode for wndchrm worker using beanstalkc