Fix bug in flushing uncompressed css
Renaming functions and bug fixes