Minor changes for compliance

Added licensing to all scripts, fixed po empty strings, changed exit to
sys.exit