fixed thread issues (non-UI thread stuff); fixed not drawing boxes on initial load