Added Cost Table + spinners to tabs
refactored real-time pixels, starting with cleaning code