3 big things: 1 - cleaned up resources.js and common.js; 2 - fixed some bugs in refining; 3 - changed movement technique in client from timeout to radar-based