added some comments and credit to the default css
relocated add_action/filter functions to the top of the file