Cleanup on command library code
switched hook system to live library check (instead of keep track of hooks path) and rewired some settings stuff