TODO Implement proper error handling/messages. Make recording quality/resolution configurable. Add audio capture option to screen recording. Add ability to cut final recording (either at beginning or end).