More fliexible regarding whitespace in config.yaml

Small refactoring, remove finished TODOs
Use a queue for typer input
Add comments
Handle events during dedication
Handle window resizing during loading

Exit immediately if quit during a loading screen