Added some more stuff to next. Beautified the existing sources.
More changes to next.