alerts refactor

can have alerts in four corners, moved alerts to template, can add
images to alerts