Hull City survive a late scare from Crystal Palace to earn back-to-back league wins and spoil Thomas Frank's first home league game in charge.