added thread stuff for main...no changes to sprite