Added support for <Home> and <End>
Fix some bug appearing with ZOC6.