Minor Snowflake refactoring

These are some minor improvements I made while reading through the code.

  • Removal of dead code and impossible conditional checks
  • Move logging to higher levels
  • Swap some yoda conditionals
  • Code and comment formatting
  • Channel close instead of <- to broadcast a signal