Fixed some warnings. Added saving tagdata to txt