Moved displaying in browser code out of CPU and fixed PS