Code clean up (many functions moved to theme)
Fixed install bug when cart was all free apps