Updated documentation, fixed static urls, moved/condensed code, made some sections more reliable.