Renderloop cleanup, android fix