Fix weird application directory issue

This has never happened before, and I have used this method for many
releases now...
Minor fix to build number system
Fixes for various writing and confirmation issues