Removed unused variable. Fixed #13. Handle ~ char in -d option
Fixed #6. Fixed dragging issues on OS X window
Added os x yosemite window