Remove unnecessary code.
Add the ability to record a file and change thread startup to only load file instead of loading a file and setting the playing state paused. Also start to add platform detection to set gstreamer's backend according to the platform.