Loads of documentation, added/fixed minor things