various fixes, including the console expanding more than it should, some extra usage of flexbox etc