Added key grabbing

Added key grabbing from key.dat or from base executable