Fixed hidden pins and decoupling on 74HC04, sorted out component positions