Fixed a variety of bugs

Signed-off-by: Lukas Krawczyk <lukas.krawczyk@fh-dortmund.de>
24 files changed