Fixed three bugs. Fixed name/alias bug when name not found. Fixed create database template for when alias is ''. Fixed bug where editing a server with N/A caused an error.