Many more changes

Changes include:
- Included boolean type
- Rewrote most of the main loop
- Included a WiFi disable function
- Include macro definitions
- Moved the ConnectSocket() to the Connections tab, messages cannot be
sent without a successful connection first