Layer handling started and inventory/keyboard mock functions put in.