set a better frame rect
added basic threading and changed the structure to help support threading in top places and next list