v0.5.1

isAppRunning() code completely replaced with faster code that should
cause less bugs