Resolve all compiler warnings

This resolves all compiler warnings (parentheses, incomplete switches) and removes the relevant items from the TODO. 

It seems that all the needed functionality is there already, so a ```default: break;``` will suffice. Either way, even if additional cases are needed later, there's no point in having unresolved compiler warnings now.