Unable to delete user in Preferences
Was username the first account created? If so, that account has links to OS services that will prevent it from being deleted (though you could hide it). If this is the case and you really want it gone, you can reassign the GeneratedUID from that account to your preferred account and then delete the original. For detailed instructions on how to do this, see Ambrose Little's site.