renamed specialize_2 -> specialize_and_check
removed most compilation warnings
fixed a few css classes