I've fixed some crashes in lazarus.
1. The handleneeded/createhandle had a infiniteloop because parent=self
2. gtkfocusCB had the wrong declaration causing wrong data parameter. This was the crash after a keypress
3. All gtk callback returned boolean instead of gboolean ! (gboolean=longbool). Don't forget that your 'working' with C libraries which have a boolean of 4 bytes.
There is now a crash after enter is pressed on a tab, but that is up to you to debug.
Peter
