Added window title
Removed unused files
Implemented trimming to minimal bounding box