small cleanups. make the Resource class thread safe
small cleanups. make the Resource class thread safe

scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown