Initial commit.
Some fixes.