Minor bug fixes

- Mostly removed PHP notices by defining some variables
- Fixed bug with weather not detecting gateway error to Yahoo
- Fixed bug hiding weather when no data is returned