currently working version
add license GPL3
make some error checks.
The script still depends on displaymessage.
Need to either release displaymessage or make it depend only on dialog