Removing unused styles and fixing source editor not showing on first load bug