Major logic overhaul. Adding prefalias_show_msg() and prefalias_redirect