Rev 122

fixed few more issues with open database and rename database routine in
context menu