Added some checks addressing review comments.
Added some checks addressing review comments.

adobe/brackets-shell,adobe/brackets-shell,adobe/brackets-shell,ficristo/brackets-shell,ficristo/brackets-shell,adobe/brackets-shell,adobe/brackets-shell,ficristo/brackets-shell,adobe/brackets-shell,ficristo/brackets-shell,ficristo/brackets-shell