Edge instabilities and skyrmion creation in magnetic layers. (13th June 2016)