extract the callback to its own function
display error if stream cannot be opened
Not showing the preview
fill the whole screen... almost
ah, this looks nicer