Corrected \label mistakes (has to be after \caption on figures) and played around with \cite and \ref (now works correctly).