Reformatting
Also adds license headers
Add error check on prescan of gstreamer audio