Refactored CSS mode into proper WebGL mode

TODO: Fix PO2 problem with text textures
TODO: Use real lines to draw outline elements instead of textures