Fixed firstLoad and clearFilters.

Fixed #116 and fixed #118. Also added PHP debugging. Attempt to get
categories working.
Fix Categories menu (filtering still does not work).