Merged seamcarver and some style changes.