Added sidebar, removed magic numbers from ui_msg