add better error handling for build and deploy

- add message type to form messages
- show an error if you can't build properly
- handle error during deploy process
- add todo for checking status of deploy