Added debug mode to saved variables
updated version to 0.21