Fixed crop+rotate bug. Fixed interface.