Little debug

Some bugs have been removed and some edges have been rounded a little.