replace alert with growl
other improvments