Fixed some faulty logic, add display of selected file
Fix compiler errors
Fix panicking on cancel (optional behavior now)