Application seems to crash now. More debugging.