Added some documentation to software part, looks much cleaner now
Make SW XPS_HWICAP much faster by using write instead of fwrite