Fixed ambiguous function name
Reordering/cosmetic edits
Added graphical error display