Code

Some improvements to the ArrayUp/ArrayDown handling