Implement capturing of picture in same GLContext as the one displayed. Resize view for capturing picture of bigger size.

Closes #19
References #31
Remove unused method