some frontend bugfixes + updated to phonegap 3.0