Minor clean-ups
Add mac cocoa platform check constant
Readd global binding f5 for refresh-file