Refactoring window types, removing recipient and from references - wip
Refactored all window recipients and types

Tests need fixing
Fixed tests
Removed TODOs
Merge branch 'master' into plugins

Conflicts:
	src/command/command.c
	src/command/commands.c
	src/ui/core.c
	src/ui/titlebar.c