Documentation changes, general cleanup

Still need to make it work on webkit!! So near to release!