Better handling of height.
Updated readme.
Remove temp files on exit.