fixed realloc bug, added startup screen

...yes I know - startup screen only wastes memory :-(