elementalX: Several improvements from elementalx kernel