Fixed app crash when opening a file on launch.
Added ability to share currently selected file.