Fixed errors w.r.t error reporting and also added default window size as centered size.
Fixed errors w.r.t error reporting and also added default window size as centered size.

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